package com.parenting.response.wechat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="WeChatCollageResponse对象", description="普通拼新增")
public class WeChatCollageResponse implements Serializable {

    @ApiModelProperty(value = "商品ID")
    @NotBlank(message = "商品ID不能为空")
    private String commodityId;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;
    @ApiModelProperty(value = "商品图片")
    private String imagesUrl;
    @ApiModelProperty(value = "商品数量")
    private int  commodityNumber;

    @ApiModelProperty(value = "优惠价格（实付价格）")
    private int actualPrice;

    @ApiModelProperty(value = "原价")
    private int originalPrice;
    @ApiModelProperty(value = "活动开始时间")
    private Date activityStarTime;
    @ApiModelProperty(value = "活动结束时间")
    private Date  activityEndTime;

}
